package com.spring.takeaway.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Service;
import org.springframework.transaction.event.TransactionalEventListener;

import javax.xml.stream.FactoryConfigurationError;
import java.io.Serializable;
import java.lang.reflect.ParameterizedType;
import java.sql.Time;
import java.util.Date;
import java.util.List;

/**
 * @Author LCD
 * @Date 2022/6/14 21:48
 **/
@TableName("order")
@Data
public class Order implements Serializable {
    @TableId("order_id")
    private Integer OrderId;
    private String phone;
    private String name;
    private String address;
    @TableField(exist = false)
    private List<FoodVo> foods;
    private String food;
    @TableField("create_time")
    private Date  createTime;
    private Integer status;
    private Integer isdelete;
    @TableField("sum")
    private String sum;
    @TableField("merimg")
    private String merimg;
    @TableField("mername")
    private String mername;
    @TableField("snumber")
    private String snumber;

}
